package com.hangzhou.xyj.net.request;

import com.google.gson.Gson;
import com.google.gson.JsonObject;
import com.hangzhou.xyj.net.request.base.BaseRequest;

/**
 * Created by yaohuix on 2016/2/25  15:22
 * <p/>
 * 说明：唱戏-已点戏 请求
 */
public class SingOrderedReq extends BaseRequest {

    public SingOrderedReq(int userId, int pageSize, int currentPage) {
        JsonObject jsonObject = new JsonObject();
        jsonObject.addProperty("userId", userId);
        jsonObject.addProperty("pageSize", pageSize);
        jsonObject.addProperty("currentPage", currentPage);
        String jsonStr = new Gson().toJson(jsonObject);
        add("data", jsonStr);
    }

    @Override
    public String getUrl() {
        return null;
    }
}
